import {getIndustry,getMajor} from "@/services"
import {makeAutoObservable} from "mobx"
import { message} from 'antd';
import {IindustryQuery } from "@/utils/interface"

class ProjectKu{
    constructor(){
        makeAutoObservable(this)
    }

    //定义仓库中的属性
    Industrylist=[]
    Majorlist=[]

    //定义项目行业方法
    async getIndustry(){
        let result =await getIndustry()
        if(result.data){
            this.Industrylist=result.data
        }
        // console.log(111,this.Industrylist);
    }

    //定义项目行业方法
    async getMajor(){
        let result =await getMajor()
        // console.log(result.data,1);
        if(result.data){
            this.Majorlist=result.data
        }
    }

    //定义项目列表
    
    
}

export default new ProjectKu